import request from '../utils/request';
// 新闻分页查询
export const infoList = query => {
    return request.get(`/zsrencai/api/ms/news/home/list/page`, {params:query})
}
// 获取新闻详情
export const getInfoDetail = query => {
    return request.get(`/zsrencai/api/ms/news/detail/${query}`)
}

// 获取单个文章内容
export const getSinDetail = query => {
    return request.get(`/zsrencai/api/ms/news-menu/${query}`)
}

// navList查询
export const getNavList = query => {
    return request.get(`/zsrencai/api/ms/news-menu/list/${query}`,{},{ headers: { 'Authorization': '' } })
}


